<?php

use Illuminate\Support\Facades\Route;
use Modules\Order\Http\Controllers\OrdersController;

Route::prefix('order')->group(function () {

    Route::apiResource('order', OrdersController::class);

    Route::get('refund/{id}', [OrdersController::class, 'refund']);
    //next
    Route::post('overweight_push', [OrdersController::class, 'overweightPush']);  //超重订单推送

    Route::post('send_message', [OrdersController::class, 'sendMessage']);  //短信推送
});
